package com.netease.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.Dao.TrxDao;
import com.netease.jichu.Trx;

@Service
public class TrxService {
	@Autowired
	private TrxDao td;
	public void insertTrx(Trx trx){
		td.insertTrx(trx);
	}
	public List<Trx> buyList(){
		return td.buyList();
	}
}
